﻿"use strict";
// const root = '/opt/sword/nodejs/apps/game';
// const root = '/Users/wodaq/Desktop/swordSer-master-7dd3e4f570f397274ff337e158039159757f810f/apps/game';
const root = __dirname;

module.exports = {
    sid      :[1,996],
    root     : root,
    debug    : 2,
    gzone    : 1,         
    dbname   :'BONG',
    verify   :{"maxrms" : 0,"secret":''},
    branch   :{"id":"z1gsj50q","secret":"szmzbzbzlp"},
    session  :{"secret":"2020"},
}



module.exports.dbs = {};
module.exports.dbs[0] = {
    cache   : {'host':'127.0.0.1','port':6379,'db':1,'password':'gini123'},
    redis   : {'host':'127.0.0.1','port':6379,'db':10,'password':'gini123'},
    mongodb : {'host':'127.0.0.1','port':27017,'username':'ginibong','password':'ginibong2020'},

}
module.exports.remote = {
    fnum     : 1,
    port     : 81,
    shell    : root+'/process/remote',
}

module.exports.local = {
    fnum     : 1,
    port      : 8081,
    shell    : root+'/process/local',
}



// module.exports.remote = {
//     port     : 8081,
//     //fnum     : 1,
//     shell    : root+'/process/remote',
//     //https    : {"key":"","cert":""},  //HTTPS证书
// }

// module.exports.local = {
//     port     : 8080,
//     fnum     : 1,
//     shell    : root+'/process/local',
// }



module.exports.spirit = {
    "route" :"spirit",
    "update":{'ts':1},
    "server":{"url":"http://127.0.0.1:3000" },
}
